package com.cskaoyan._10final._02clazz;

/**
 * @description:
 * @author: 景天
 * @date: 2023/2/10 10:15
 **/
/*
final修饰类:
    表示这个类不能被继承
 */
public class Demo {
    public static void main(String[] args) {

    }
}

final class Father{
    String name = "aaaaaaaa";
}

// Cannot inherit from final 'com.cskaoyan._10final._02clazz.Father'
//class Son extends Father{
//
//}